Airwallex\Services\OrderService C

Total Complexity 121
Dependencies 17
Dependents 15
Total lines 645
Lines of code 532
Logical lines of code 254
Comment lines 57
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
updateOrderDetails()
C
39 27 59
setPaymentSuccess()
A
46 14 34
paymentCompleteByAuthorize()
A
40 10 58
checkPendingTransactions()
A
47 9 34
setTemporaryOrderStateAfterDecline()
A
51 9 25
getOrderByPaymentIntentId()
A
46 7 47
getRefundByAmountAndTime()
A
41 5 74
getRefundIdByAirwallexRefundId()
S
48 5 41
paymentCompleteByCapture()
S
48 4 34
update_consent()
S
57 5 18
getOrderByAirwallexRefundId()
S
52 4 27
getPendingPaymentOrdersIds()
S
52 3 31
getAirwallexCustomerId()
S
57 3 16
containsSubscription()
S
77 4 3
getOrderMetaTableName()
S
69 3 7
getOrderIdColumnNameFromMetaTable()
S
71 3 6
getInstance()
S
71 2 6
setPendingStatus()
S
71 2 6
setAuthorizedStatus()
S
71 2 6